package com.zwx.bingo.swagger.properties;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.boot.context.properties.ConfigurationProperties;

@ConfigurationProperties(prefix = "system.swagger", ignoreInvalidFields = true)
@Data
@NoArgsConstructor
@AllArgsConstructor
public class SwaggerConfigurationProperties {

    Boolean enabled = Boolean.TRUE;

    String title = "APPLICATION.NAME";

    String version = "APPLICATION.VERSION";

    String path = "/api/.*";
    String description = "Zwx Cloud Api Documentations";
    String contact = "cloud@livingdiy.com";

    String keyName = "X-Auth-Token";
    String passAs = "header";

    boolean redirect = false;

}
